from abc import ABC, abstractmethod

class BaseCaptchaRecognizer(ABC):
    """验证码识别器基类"""
    
    @abstractmethod
    async def recognize(self, image_path: str) -> str:
        """
        识别验证码
        Args:
            image_path: 验证码图片路径
        Returns:
            str: 识别出的验证码文本
        """
        pass 